package meta

import (
	"gostep/project/simplePlayer/util"
)

const Salt  = "hl"
type FileMeta struct {
	Name string
	Author string
	Duration string
	Digest   string
}

func formHash(m *FileMeta){
	str:=m.Name+m.Author+m.Duration
	m.Digest=string(util.FormHash(str,Salt))
}

